package com.net.rip.utils;

import cn.hutool.log.StaticLog;
import com.net.rip.entity.Network;

/**
 * 网络拓扑初始化
 */
public class netInit {
    public static void netinit(Network network) {

        network.initNetwork();

        if(network.getRouterList().size()==network.getRouterNum())
            StaticLog.info("初始化成功");

        outPut.output(network);

    }
}
